package com.lh.pojo;

import java.io.Serializable;

/**
 * @Description:现在的你决定了未来的你
 * @Company: www.lihong.com
 * @ClassName:User
 * @author 李宏
 * @date 2018年1月30日下午2:06:07
 * @version 3.0
 */
public class User implements Serializable {
	private static final long serialVersionUID = 1L;
	private Integer u_id;
	private String u_name;
	private Integer u_age;
	private String u_tel;
	private String u_img;
	private Integer d_id;
	private Dept dept;

	public User() {
		super();
		// TODO Auto-generated constructor stub
	}

	public User(Integer u_id, String u_name, Integer u_age, String u_tel, String u_img, Integer d_id, Dept dept) {
		super();
		this.u_id = u_id;
		this.u_name = u_name;
		this.u_age = u_age;
		this.u_tel = u_tel;
		this.u_img = u_img;
		this.d_id = d_id;
		this.dept = dept;
	}

	public User(String u_name, Integer u_age, String u_tel, String u_img, Integer d_id, Dept dept) {
		super();
		this.u_name = u_name;
		this.u_age = u_age;
		this.u_tel = u_tel;
		this.u_img = u_img;
		this.d_id = d_id;
		this.dept = dept;
	}

	public Integer getU_id() {
		return u_id;
	}

	public void setU_id(Integer u_id) {
		this.u_id = u_id;
	}

	public String getU_name() {
		return u_name;
	}

	public void setU_name(String u_name) {
		this.u_name = u_name;
	}

	public Integer getU_age() {
		return u_age;
	}

	public void setU_age(Integer u_age) {
		this.u_age = u_age;
	}

	public String getU_tel() {
		return u_tel;
	}

	public void setU_tel(String u_tel) {
		this.u_tel = u_tel;
	}

	public String getU_img() {
		return u_img;
	}

	public void setU_img(String u_img) {
		this.u_img = u_img;
	}

	public Integer getD_id() {
		return d_id;
	}

	public void setD_id(Integer d_id) {
		this.d_id = d_id;
	}

	public Dept getDept() {
		return dept;
	}

	public void setDept(Dept dept) {
		this.dept = dept;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	public String toString() {
		return "User [u_id=" + u_id + ", u_name=" + u_name + ", u_age=" + u_age + ", u_tel=" + u_tel + ", u_img="
				+ u_img + ", d_id=" + d_id + ", dept=" + dept + "]";
	}

}
